package com.fsql.utils;

import org.apache.flink.configuration.ConfigOption;
import org.apache.flink.configuration.ConfigOptions;

public class ConfigConstant {
    /**
     * Checkpoints
     */
    public static final ConfigOption<String> FLINK_STATE_CHECKPOINTS_DIR = ConfigOptions
            .key("state.checkpoints.dir")
            .stringType()
            .defaultValue("")
            .withDescription("Directory for checkpoints filesystem, when using any of the default bundled");

    /**
     * Savepoints
     */
    public static final ConfigOption<String> FLINK_STATE_SAVEPOINTS_DIR = ConfigOptions
            .key("state.savepoints.dir")
            .stringType()
            .defaultValue("")
            .withDescription("Default target directory for savepoints, optional.");
}
